package com.example.springboot.controller;

import com.example.springboot.common.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*
    功能：提供接口，返回数据
*/
@RestController
public class WebController {

    @RequestMapping
    public  Result hello(){
        return Result.success("苏草明");
    }
}
